﻿using Microsoft.AspNetCore.Mvc;

namespace ProjectScheduling_web.Controllers.Staff
{
    [Route("app/[controller]/[action]")]
    [App]
    public class BController : ControllerBase
    {
        public ActionResult Success<T>(T msg) => Ok(new { state = true, msg });
        public ActionResult Fail<T>(T msg) => Ok(new { state = false, msg });
    }
}
